package com.yueka.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yueka.pojo.entity.teacher.TeacherInstrument;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface TeacherInstrumentMapper extends BaseMapper<TeacherInstrument> {
    void delete(@Param("instrumentIds") Integer[] instrumentIds);

    void insert(@Param("id") Integer id, @Param("instrumentIds") Integer[] instrumentIds);

    @Select("select i_id from teacher_instrument where t_id = #{id}")
    Integer[] list(Integer id);
}
